#include <iostream>
using namespace std;
#include "myQueue.h"

 

int main()
{   
    myQueue queue;

    queue.push(11);
    queue.push(22);
    queue.push(33);
    queue.push(44);

    cout<<"size:"<<queue.size()<<endl;
    cout<<"size:"<<queue.front()<<endl;
    cout<<"size:"<<queue.rear()<<endl;

    while(!queue.empty())
    {
        cout<<"front:"<<queue.front()<<endl;
        queue.pop();
    }
    cout<<"size:"<<queue.size()<<endl;
    return 0;
}